package com.hntest.service;

import java.net.UnknownHostException;
import java.util.List;
import java.util.Map;

import com.hntest.entity.IpLog;
import com.hntest.entity.LoginInfor;
import com.hntest.entity.Page;

/**
 * 登陆流水的业务类
 * @author ZHOU
 *
 */
public interface IpLogService {
	
	//写登陆流水
	public int writLoginFlow(LoginInfor user) throws UnknownHostException;
	
	//计算登陆流水总记录数
	public int getCount();
	
	//条件计算登陆流水的记录数
	public int getConditionCount(LoginInfor user);
	
	//分页查询登陆流水
	public List<IpLog> getListByPage(Page page,LoginInfor user);
}
